package tconf

import (
	"gitee.com/micro-services/tconf/config"
)

var (
	pluginFuncs []func()
)

type Options struct {
	cfgOps []config.Option
}

type Option func(o *Options)

func Init(conf interface{}, opts ...config.Option)  {

	config.Init(conf, opts...)

	for _, f := range pluginFuncs {
		f()
	}
}
